<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Weather</title>
</head>
<body>
    <h1>Star 天气预报</h1>
    <div>请选择城市：
        <select id="city">
            <option th:each="c :${cityList}" th:value="${c.cityid}" th:text="${c.city}">Volvo</option>
<!--            <option value="saab">Saab</option>-->
<!--            <option value="vw">VW</option>-->
<!--            <option value="audi" selected>Audi</option>-->
        </select>
    </div>
    <h2>当前城市：<span >Volvo</span></h2>
</body>
</html>
